import { Group } from '@/components/pro-panel/index.typing';

export enum LayerTypeEnum {
  圆形 = 'circular',
  // 聚合点 = '',
}
const group: Group = {
  title: '贝塞尔曲线属性',
  key: 'bezier',
  collapsed: false,
  columns: [
    {
      label: '直径',
      prop: 'segment',
      type: 'input-number',
      formProps: { controls: false, precision: 2, min: 0 },
    },
    {
      label: '流速',
      prop: 'speed',
      type: 'input-number',
      formProps: { controls: false, precision: 2, min: 0 },
    },
    {
      label: '样式',
      prop: 'imageUrl',
      type: 'image-selector',
      formProps: { isShowButton: false, disabled: true },
    },
    {
      label: '横切面形状',
      prop: 'shape',
      type: 'select',
      options: LayerTypeEnum,
    },
    {
      label: '拐角平滑距离',
      prop: 'cornerDistance',
      type: 'input-number',
      formProps: { controls: false, precision: 2, min: 0 },
    },
  ],
};

export default group;
